home *** CD-ROM | disk | FTP | other *** search
- Path: thor.tu.hac.com!collins
- From: collins@thor.tu.hac.com (Ron Collins)
- Newsgroups: comp.lang.c
- Subject: Re: XMS and Vesa programming
- Date: 23 Jan 1996 13:58:03 GMT
- Organization: Advanced Depot Systems
- Message-ID: <4e2phb$q0t@hacgate2.hac.com>
- References: <4e0qlm$daq@cocoa.is.in-berlin.de>
- NNTP-Posting-Host: thor.tu.hac.com
-
- Marco Grubert (grubert@is.in-berlin.de) wrote:
- : Hello,
-
- : I urgently need help on the following problem. I would like to enhance
- : a freeware C program, by adding Vesa graphics to the standard MCGA
- : graphics. To do so, an off-screen buffer of about 300K has to be
- : created, which would be to big for conventional memory. However I am a
- : pascal programmer and only a C beginner. Is there anyone out there who
- : has either Vesa routines (mode 0x101- 640x480x256) or XMS routines for
- : copying from XMS to conventional, etc. ?
-
- : Thank you very much,
- : Marco Grubert
-
- This is not really a C question, and since it is specific to MS-DOS machines,
- you should be asking this over in comp.msdos.programmer, or in one of the
- graphics groups. Those areas will have the expertise you are looking for.
-
- However, with that said, I may have a few ideas. If the graphics used
- by your current program use the BIOS to paint the screen, then maybe all
- you need is a Vesa driver loaded. There are free Vesa driver programs
- that you can load into memory as a TSR when you boot your machine; then,
- whenever you switch into graphics modes, the Vesa modes (0x6a, 0x100..0x109,
- etc) are available just as if they were built into the BIOS ROM. Take
- a look at the graphics utilities on oak.oakland.edu, or any of the Simtel
- mirrors. You'll have to do some digging around to get the version you
- need for your machine, but it can save you months of programming time.
-
-
- -- Collins --
-
- -----
- The views expressed here are mine alone.
-
- Ron Collins/Hughes Aircraft Company/M20,P20/Tucson Az 85706
- rcollins@thor.tu.hac.com collins@seagull.rtd.com
- ยก----
-